package com.dy.service;

import com.dy.entity.OrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Auther: dy
 * @Date: 2022/4/16 - 04 - 16 - 17:30
 * @Description: com.dy.service
 * @version: 1.0
 */
@FeignClient(name = "orderFeign",url = "127.0.0.1:8081/order")
public interface IFeignOrderService {
    @PostMapping("/insertOrder")
    public boolean insertOrder(@RequestBody OrderVo orderVo);
}
